function GetDashboard() {
	
	var tabs = new Ext.TabPanel({
						resizeTabs:true,
						minTabWidth: 80,
						tabWidth:150,
						enableTabScroll:true,
						defaults: {autoScroll:true}

					});
	var tabs_1Panel1 = new Ext.Panel({
        layout: 'column',
		    defaults: {  
		        layout: 'anchor',
		        defaults: {
		            anchor: '100%'
		        }
		    },
        
        items:[
        				{
        					columnWidth: 0.5,        //设置列的宽度
        					items: [{
												xtype: 'label',
												style:'padding-top: 4px; ', 
												text:'Host Name: myFirewall'
											}]
								},{
									columnWidth: 0.5,        //设置列的宽度
        					items: [{
												xtype: 'label',
												style:'padding-top: 4px; ', 
												text:'ASA Version: 8.4(2)'
											}]
								}
        ]
    });	
	var tabs_1Panel2 = new Ext.Panel({
        layout : 'form',
        html: "2222222222222222222222222"
    });	

	var tabs_1 = new Ext.TabPanel({
						activeTab: 0,
		        plain:true,
		        height : 200,
		        items:[
			        {
	                title: 'General',
	                bodyStyle:"padding:10px", 
	                items:[
		                {
								        layout: 'column',
								        items:[
								        				{
								        					columnWidth: 0.5,        //设置列的宽度
								        					items: [{
																				xtype: 'label',
																				style:'padding-top: 4px; ', 
																				text:'Host Name: myFirewall'
																			}]
																}
								        ]
								    },{
								        layout: 'column',
								        items:[
								        				{
								        					columnWidth: 0.5,        //设置列的宽度
								        					items: [{
																				xtype: 'label',
																				style:'padding-top: 4px; ', 
																				text:'ASA Version: 8.4(2)'
																			}]
																},{
																	columnWidth: 0.5,        //设置列的宽度
								        					items: [{
																				xtype: 'label',
																				style:'padding-top: 4px; ', 
																				text:'Device Uptime: 0d 0h 30m 6s'
																			}]
																}
								        ]
								    },{
								        layout: 'column',
								        items:[
								        				{
								        					columnWidth: 0.5,        //设置列的宽度
								        					items: [{
																				xtype: 'label',
																				style:'padding-top: 4px; ', 
																				text:'ASDM Version: 6.4(5)'
																			}]
																},{
																	columnWidth: 0.5,        //设置列的宽度
								        					items: [{
																				xtype: 'label',
																				style:'padding-top: 4px; ', 
																				text:'Device Type: ASA 5520'
																			}]
																}
								        ]
								    },{
								        layout: 'column',
								        items:[
								        				{
								        					columnWidth: 0.5,        
								        					items: [{
																				xtype: 'label',
																				style:'padding-top: 4px; ', 
																				text:'Firewall Mode: Routed'
																			}]
																},{
																	columnWidth: 0.5,        
								        					items: [{
																				xtype: 'label',
																				style:'padding-top: 4px; ', 
																				text:'Context Mode: Single'
																			}]
																}
								        ]
								    },{
								        layout: 'column',
								        items:[
								        				{
								        					columnWidth: 0.5,        
								        					items: [{
																				xtype: 'label',
																				style:'padding-top: 4px; ', 
																				text:'Total Flash: 64MB'
																			}]
																},{
																	columnWidth: 0.5,        
								        					items: [{
																				xtype: 'label',
																				style:'padding-top: 4px; ', 
																				text:'Totle Memory: 2048MB'
																			}]
																}
								        ]
								    }
	                ]
	            },{
	                title: 'License',
	                bodyStyle:"padding:10px", 
	                items:[
		                {
								        layout: 'column',
								        items:[
								        				{
								        					columnWidth: 0.5,        //设置列的宽度
								        					items: [{
																				xtype: 'label',
																				style:'padding-top: 4px; ', 
																				text:'License: VPN Plus'
																			}]
																},{
																	columnWidth: 0.5,        //设置列的宽度
								        					items: [{
																				xtype: 'label',
																				style:'padding-top: 4px; ', 
																				text:'GTP/GPRS: Enabled'
																			}]
																}
								        ]
								    },{
								        layout: 'column',
								        items:[
								        				{
								        					columnWidth: 0.5,        //设置列的宽度
								        					items: [{
																				xtype: 'label',
																				style:'padding-top: 4px; ', 
																				text:'Encryption: 3DES-AES'
																			}]
																},{
																	columnWidth: 0.5,        //设置列的宽度
								        					items: [{
																				xtype: 'label',
																				style:'padding-top: 4px; ', 
																				text:'Physical Interface: Unlimited'
																			}]
																}
								        ]
								    },{
								        layout: 'column',
								        items:[
								        				{
								        					columnWidth: 0.5,        //设置列的宽度
								        					items: [{
																				xtype: 'label',
																				style:'padding-top: 4px; ', 
																				text:'VLANs: 150'
																			}]
																},{
																	columnWidth: 0.5,        //设置列的宽度
								        					items: [{
																				xtype: 'label',
																				style:'padding-top: 4px; ', 
																				text:'VPN Peers: 750'
																			}]
																}
								        ]
								    },{
								        layout: 'column',
								        items:[
								        				{
								        					columnWidth: 0.5,        
								        					items: [{
																				xtype: 'label',
																				style:'padding-top: 4px; ', 
																				text:'Failover: Active/Active'
																			}]
																},{
																	columnWidth: 0.5,        
								        					items: [{
																				xtype: 'label',
																				style:'padding-top: 4px; ', 
																				text:'SSL VPN Peers: 750'
																			}]
																}
								        ]
								    },{
								        layout: 'column',
								        items:[
								        				{
								        					columnWidth: 0.5,        
								        					items: [{
																				xtype: 'label',
																				style:'padding-top: 4px; ', 
																				text:'Security Contexts: 20'
																			}]
																}
								        ]
								    }
	                ]
	            }
		        ]
					});
		
	var northPanel_1_1 = new Ext.Panel({
				title:'Device Information',
        columnWidth:0.5,
        layout : 'fit',
        height : 200,
        items:[tabs_1]
    });	
 	 var myData_1 = [
				['1', 'dmz', '10.10.10.1/24', 'up','up',"0"],
				['2', 'inside', '192.168.1.1/24', 'up','up',"0"],
				['3', 'mgmt', '172.23.59.108/24', 'up','up',"7"],
				['4', 'outside', '198.52.1.1/24', 'up','up',"0"],
				['5', 'partner-dmz', '10.1.1.1/16', 'up','up',"0"]
		];
   // shared reader
    var reader_1 = new Ext.data.ArrayReader({}, [
       			{
							name : 'id'
						}, {
							name : 'Interface'
						}, {
							name : 'IPAddressMask'
						}, {
							name : 'Line'
						}, {
							name : 'Link'
						}, {
							name : 'Kbps'
						}
    ]);
    var store_1 = new Ext.data.GroupingStore({
            reader: reader_1,
            data: myData_1,
            sortInfo:{field: 'id', direction: "ASC"}
        });
		var sm_1 = new Ext.grid.CheckboxSelectionModel();
		var grid_1 = new Ext.grid.GridPanel({
					store : store_1,
					columns : [ {
								id : 'id',
								header : 'id',
								width : 10,
								sortable : true,
								dataIndex : 'id',
								hidden : true
							}, {
								header : 'Interface',
								width : 80,
								sortable : true,
								dataIndex : 'Interface'
							}, {
								header : 'IP Address/Mask',
								width : 100,
								sortable : true,
								dataIndex : 'IPAddressMask'
							}, {
								header : 'Line',
								width : 70,
								sortable : true,
								dataIndex : 'Line'
							}, {
								header : 'Link',
								width : 70,
								sortable : true,
								dataIndex : 'Link'
							}, {
								header : 'Kbps',
								width : 70,
								sortable : true,
								dataIndex : 'Kbps'
							}],
					sm : sm_1,
					stripeRows : true,
					autoExpandColumn : 'id',
					stateful : true,
					height : 200
				});
	var northPanel_1_2 = new Ext.Panel({
				title:'Interface Status',
        columnWidth:0.5,
        height : 200,
        items:[grid_1]
    });	
	var northPanel_1 = new Ext.Panel({
				layout : 'column',
        region : 'north',
        height : 200,
        items: [northPanel_1_1,northPanel_1_2]
    });	
	var centerPanel_1_1 = new Ext.Panel({
				title:'VPN session',
        columnWidth:0.5,
        height : 50,
        layout : 'fit',
        items: [{
	                bodyStyle:"padding:10px", 
	                items:[
		                {
								        layout: 'column',
								        items:[
								        				{
								        					columnWidth: 0.33,        //设置列的宽度
								        					items: [{
																				xtype: 'label',
																				style:'padding-top: 4px; ', 
																				text:'IPSec : 0'
																			}]
																},{
								        					columnWidth: 0.33,        //设置列的宽度
								        					items: [{
																				xtype: 'label',
																				style:'padding-top: 4px; ', 
																				text:'Clientless SSL VPN : 0'
																			}]
																},{
								        					columnWidth: 0.34,        //设置列的宽度
								        					items: [{
																				xtype: 'label',
																				style:'padding-top: 4px; ', 
																				text:'AnyConnect Client : 0'
																			}]
																}
								        ]
								    }
	                ]
	            }
        				
        ]
    });	
	var centerPanel_1_2 = new Ext.Panel({
				title:'Failover Status',
        columnWidth:0.5,
        height : 50,
        layout : 'fit',
        items: [{
	                bodyStyle:"padding:10px", 
	                items:[
		                {
								        layout: 'column',
								        items:[
								        				{
								        					columnWidth: 1,        //设置列的宽度
								        					items: [{
																				xtype: 'label',
																				style:'padding-top: 4px; ', 
																				text:'Failover not configured. Click the link to configure it.'
																			}]
																}
								        ]
								    }
	                ]
	            }
        				
        ]
        
    });	
	var centerPanel_1 = new Ext.Panel({
        layout : 'column',
        region : 'center',
        height : 50,
        items: [centerPanel_1_1,centerPanel_1_2]
    });
  
  
  	var MyData_cpu = new Ext.data.JsonStore({
				fields : ['name', 'usage'],
				data : [{
							name : '08:01',
							usage : 5
						}, {
							name : '08:02',
							usage : 10
						}, {
							name : '08:03',
							usage : 20
						}, {
							name : '08:04',
							usage : 30
						}, {
							name : '08:05',
							usage : 20
						}, {
							name : '08:06',
							usage : 50
						}, {
							name : '08:07',
							usage : 20
						}, {
							name : '08:08',
							usage : 100
						}]
			});		
	var MyData_mem = new Ext.data.JsonStore({
				fields : ['name', 'usage'],
				data : [{
							name : '08:01',
							usage : 201
						}, {
							name : '08:02',
							usage : 301
						}, {
							name : '08:03',
							usage : 424
						}, {
							name : '08:04',
							usage : 433
						}, {
							name : '08:05',
							usage : 321
						}, {
							name : '08:06',
							usage : 200
						}, {
							name : '08:07',
							usage : 256
						}, {
							name : '08:08',
							usage : 223
						}]
			});		
  var southPanel_1_1 = new Ext.Panel({
				title:'System Resources Status',
        columnWidth:0.5,
        height : 350,
        layout : 'fit',
        items: [{	                
	                items:[								        				
								        						{
								        							
								        							xAxis: new Ext.chart.CategoryAxis({
																	        title: 'CPU Usage(percent)'
																	    }),
																			xtype : 'linechart',
																			store : MyData_cpu,
																			xField : 'name',
																			height : 150,
																			series: [{
																				yField: 'usage',
																				style: {
																					color: 0x88ff88,
																					size: 4,
																					lineSize: 1
																				}
																			}]
																		},{
																			xAxis: new Ext.chart.CategoryAxis({
																	        title: 'Memory Usage(MB)'
																	    }),
																			xtype : 'linechart',
																			store : MyData_mem,
																			xField : 'name',
																			height : 150,
																			series: [{
																				yField: 'usage',
																				style: {
																					color: 0x88ff88,
																					size: 4,
																					lineSize: 1
																				}
																			}]
																		}
								        					
								        
	                ]
	            }
        				
        ]
    });	
    
   var southPanel_1_2_store_1 = new Ext.data.JsonStore({
        fields:['name', 'x1', 'x2', 'x3'],
        data: [
            {name:'05:00', x1: 2, x2: 3, x3: 5},
            {name:'05:01', x1: 2, x2: 4, x3: 6},
            {name:'05:02', x1: 3, x2: 3, x3: 6},
            {name:'05:03', x1: 3, x2: 5, x3: 8},
            {name:'05:04', x1: 4, x2: 3, x3: 7},
            {name:'05:05', x1: 4, x2: 6, x3: 10},
            {name:'05:06', x1: 5, x2: 5, x3: 10},
            {name:'05:07', x1: 6, x2: 8, x3: 14}
        ]
  });
   var southPanel_1_2_store_2 = new Ext.data.JsonStore({
        fields:['name', 'x1', 'x2'],
        data: [
            {name:'05:00', x1: 2, x2: 3},
            {name:'05:01', x1: 2, x2: 4},
            {name:'05:02', x1: 3, x2: 3},
            {name:'05:03', x1: 3, x2: 5},
            {name:'05:04', x1: 4, x2: 3},
            {name:'05:05', x1: 4, x2: 6},
            {name:'05:06', x1: 5, x2: 5},
            {name:'05:07', x1: 6, x2: 8}
        ]
  });

	var southPanel_1_2 = new Ext.Panel({
				title:'Traffic Status',
        columnWidth:0.5,
        height : 350,
        layout : 'fit',
        items: [{	                
	                items:[								        				
								    {
								    	xAxis: new Ext.chart.CategoryAxis({
													title: 'Connections Per Second Usage'
											}),
											extraStyle:
					            {
					                legend:
					                {
					                    display: 'right',
					                    padding: 3,
					                    font:
					                    {
					                        family: 'Tahoma',
					                        size: 9
					                    }
					                }
					            },
					            xtype: 'columnchart',
					            store: southPanel_1_2_store_1,
					            xField: 'name',
					            height : 150,            
					            series: [{
					                type: 'line',
					                displayName: 'UDP',
					                yField: 'x1',
					                style: {
					                    mode: 'stretch',
					                    color:0x99BBE8
					                }
					            },{
					                type:'line',
					                displayName: 'TCP',
					                yField: 'x2',
					                style: {
					                    mode: 'stretch',
					                    color: 0x15428B
					                }
					            },{
					                type:'line',
					                displayName: 'Total',
					                yField: 'x3',
					                style: {
					                    mode: 'stretch',
					                    color: 0x8f8fbc
					                }
					            }]
					       		},{
					       			xAxis: new Ext.chart.CategoryAxis({
					       					
													title: "'outside' Interface Traffic Usage(Kbps)"
											}),
											extraStyle:
					            {
					                legend:
					                {
					                    display: 'right',
					                    padding: 3,
					                    font:
					                    {
					                        family: 'Tahoma',
					                        size: 9
					                    }
					                }
					            },
					            xtype: 'columnchart',
					            store: southPanel_1_2_store_2,
					            xField: 'name',
					            height : 150,            
					            series: [{
					                type: 'line',
					                displayName: 'Input Kbps',
					                yField: 'x1',
					                style: {
					                    mode: 'stretch',
					                    color:0x99BBE8
					                }
					            },{
					                type:'line',
					                displayName: 'Output Kbps',
					                yField: 'x2',
					                style: {
					                    mode: 'stretch',
					                    color: 0x15428B
					                }
					            }]
					       		}
								        					
								        
	                ]
	            }
        				
        ]
        
    });		
	var southPanel_1 = new Ext.Panel({
        layout : 'column',
        region : 'south',
        height : 350,
        items:[southPanel_1_1,southPanel_1_2]
    });	
    
	var centerPanel = new Ext.Panel({
        layout : 'border',
        region : 'center',
        height : 600,
        items:[northPanel_1,centerPanel_1,southPanel_1]
    });	
    
		var myData = [
				['1', '6', 'Jan 11 2010', '06:11:35','308078',"192.168.1.2","80","192.168.1.2","80","test test"],
				['2', '6', 'Jan 11 2010', '06:11:35','308078',"192.168.1.2","80","192.168.1.2","80","test test"],
				['3', '6', 'Jan 11 2010', '06:11:35','308078',"192.168.1.2","80","192.168.1.2","80","test test"],
				['4', '6', 'Jan 11 2010', '06:11:35','308078',"192.168.1.2","80","192.168.1.2","80","test test"],
				['5', '6', 'Jan 11 2010', '06:11:35','308078',"192.168.1.2","80","192.168.1.2","80","test test"],
				['6', '6', 'Jan 11 2010', '06:11:35','308078',"192.168.1.2","80","192.168.1.2","80","test test"]
		];
   // shared reader
    var reader = new Ext.data.ArrayReader({}, [
       			{
							name : 'id'
						}, {
							name : 'Severity'
						}, {
							name : 'Date'
						}, {
							name : 'Time'
						}, {
							name : 'SyslogID'
						}, {
							name : 'SourceIP'
						}, {
							name : 'SourcePort'
						}, {
							name : 'DestinationIP'
						}, {
							name : 'DestinationPort'
						}, {
							name : 'Description'
						}
    ]);
    var store = new Ext.data.GroupingStore({
            reader: reader,
            data: myData,
            sortInfo:{field: 'id', direction: "ASC"}
        });
		var sm = new Ext.grid.CheckboxSelectionModel();
		var grid = new Ext.grid.GridPanel({
					store : store,
					title:'Latest ASDM Syslog Messages',
					columns : [{
								id : 'id',
								header : 'id',
								width : 10,
								sortable : true,
								dataIndex : 'id',
								hidden : true
							}, {
								header : 'Severity',
								width : 50,
								sortable : true,
								dataIndex : 'Severity'
							}, {
								header : 'Date',
								width : 70,
								sortable : true,
								dataIndex : 'Date'
							}, {
								header : 'Time',
								width : 70,
								sortable : true,
								dataIndex : 'Time'
							}, {
								header : 'Syslog ID',
								width : 70,
								sortable : true,
								dataIndex : 'SyslogID'
							}, {
								header : 'Source IP',
								width : 70,
								sortable : true,
								dataIndex : 'SourceIP'
							}, {
								header : 'Source Port',
								width : 70,
								sortable : true,
								dataIndex : 'SourcePort'
							}, {
								header : 'Destination IP',
								width : 100,
								sortable : true,
								dataIndex : 'DestinationIP'
							}, {
								header : 'Destination Port',
								width : 100,
								sortable : true,
								dataIndex : 'DestinationPort'
							}, {
								header : 'Description',
								width : 100,
								sortable : true,
								dataIndex : 'Description'
							}],
					sm : sm,
					
				
					stripeRows : true,
					autoExpandColumn : 'id',
					stateful : true,
					height : 200
				});
  
  var northPanel = new Ext.Panel({
        layout : 'form',
        region : 'south',
        height : 150,
        items: [grid]
    });	
				
	var tab = tabs.add({
					id : 1,
					title : "Device Dashboard",
					frame : true,
					layout : 'form',
					autoScroll : true,
					bodyStyle: "background-color:#ffffff", 
					items : [centerPanel,northPanel],
					border : false,
					split : true,
					autoScroll : true
				}).show();
				
				
   var panel_2_1_store_1 = new Ext.data.JsonStore({
        fields:['name', 'x1', 'x2'],
        data: [
            {name:'05:00', x1: 2, x2: 3},
            {name:'05:01', x1: 2, x2: 4},
            {name:'05:02', x1: 3, x2: 3},
            {name:'05:03', x1: 3, x2: 5},
            {name:'05:04', x1: 4, x2: 3},
            {name:'05:05', x1: 4, x2: 6},
            {name:'05:06', x1: 5, x2: 5},
            {name:'05:07', x1: 6, x2: 8}
        ]
  });
   var panel_2_1_store_2 = new Ext.data.JsonStore({
        fields:['name', 'x1', 'x2'],
        data: [
            {name:'05:00', x1: 2, x2: 3},
            {name:'05:01', x1: 2, x2: 4},
            {name:'05:02', x1: 3, x2: 3},
            {name:'05:03', x1: 3, x2: 5},
            {name:'05:04', x1: 4, x2: 3},
            {name:'05:05', x1: 4, x2: 6},
            {name:'05:06', x1: 5, x2: 5},
            {name:'05:07', x1: 6, x2: 8}
        ]
  });
   var panel_2_1_store_3 = new Ext.data.JsonStore({
        fields:['name', 'x1', 'x2'],
        data: [
            {name:'05:00', x1: 2, x2: 3},
            {name:'05:01', x1: 2, x2: 4},
            {name:'05:02', x1: 3, x2: 3},
            {name:'05:03', x1: 3, x2: 5},
            {name:'05:04', x1: 4, x2: 3},
            {name:'05:05', x1: 4, x2: 6},
            {name:'05:06', x1: 5, x2: 5},
            {name:'05:07', x1: 6, x2: 8}
        ]
  });
				
	var panel_2_1 = new Ext.Panel({
				columnWidth:0.5,
        layout : 'fit',
        height : 450, 
				bodyStyle: "background-color:#ffffff", 
				items: [{	                
	                items:[								        				
								    {
								    	xAxis: new Ext.chart.CategoryAxis({
													title: 'Connections Statistics'
											}),
											extraStyle:
					            {
					                legend:
					                {
					                    display: 'right',
					                    padding: 3,
					                    font:
					                    {
					                        family: 'Tahoma',
					                        size: 9
					                    }
					                }
					            },
					            xtype: 'columnchart',
					            store: panel_2_1_store_1,
					            xField: 'name',
					            height : 150,            
					            series: [{
					                type: 'line',
					                displayName: 'Connections',
					                yField: 'x1',
					                style: {
					                    mode: 'stretch',
					                    color:0x99BBE8
					                }
					            },{
					                type:'line',
					                displayName: 'TCP',
					                yField: 'x2',
					                style: {
					                    mode: 'NAT Xlates',
					                    color: 0x15428B
					                }
					            }]
					       		},{
					       			xAxis: new Ext.chart.CategoryAxis({
													title: "Dropped Packets Rate"
											}),
											extraStyle:
					            {
					                legend:
					                {
					                    display: 'right',
					                    padding: 3,
					                    font:
					                    {
					                        family: 'Tahoma',
					                        size: 9
					                    }
					                }
					            },
					            xtype: 'columnchart',
					            store: panel_2_1_store_2,
					            xField: 'name',
					            height : 150,            
					            series: [{
					                type: 'line',
					                displayName: 'ACL Droped',
					                yField: 'x1',
					                style: {
					                    mode: 'stretch',
					                    color:0x99BBE8
					                }
					            },{
					                type:'line',
					                displayName: 'Inspection Dropped',
					                yField: 'x2',
					                style: {
					                    mode: 'stretch',
					                    color: 0x15428B
					                }
					            }]
					       		},{
					       			xAxis: new Ext.chart.CategoryAxis({
													title: "Possible Scan and SYN Attack Rates"
											}),
											extraStyle:
					            {
					                legend:
					                {
					                    display: 'right',
					                    padding: 3,
					                    font:
					                    {
					                        family: 'Tahoma',
					                        size: 9
					                    }
					                }
					            },
					            xtype: 'columnchart',
					            store: panel_2_1_store_2,
					            xField: 'name',
					            height : 150,            
					            series: [{
					                type: 'line',
					                displayName: 'Scanning Attacks',
					                yField: 'x1',
					                style: {
					                    mode: 'stretch',
					                    color:0x99BBE8
					                }
					            },{
					                type:'line',
					                displayName: 'Syn Attacks',
					                yField: 'x2',
					                style: {
					                    mode: 'stretch',
					                    color: 0x15428B
					                }
					            }]
					       		}
								        					
								        
	                ]
	            }
        				
        ]
			})
	 var panel_2_2_store_1 = new Ext.data.JsonStore({
        fields: ['season', 'total'],
        data: [{
            season: 'outside:1 (37) 97%',
            total: 37
        },{
            season: 'outside:2 (1) 2%',
            total: 1
        }]
    });
	 var panel_2_2_store_2 = new Ext.data.JsonStore({
        fields: ['season', 'total'],
        data: [{
            season: 'HTTPS-433 (38,636) 48%',
            total: 38636
        },{
            season: 'IPPCP (34,311) 42%',
            total: 34311
        },{
            season: 'HTTP-80 (3,465) 4%',
            total: 3465
        },{
            season: 'IGRP (1,796) 2%',
            total: 1796
        },{
            season: 'DLSW (1,561) 2%',
            total: 1561
        },{
            season: 'ICMP-1 (327) 0%',
            total: 327
        },{
            season: 'NTP-123 (206) 0%',
            total: 206
        }]
    });
	 var panel_2_2_store_3 = new Ext.data.JsonStore({
        fields: ['season', 'total'],
        data: [{
            season: '172.168.59.108:443 (1) 25%',
            total: 37
        },{
            season: '182.168.1.100:80 (3) 75%',
            total: 1
        }]
    });
	 var panel_2_2_store_4 = new Ext.data.JsonStore({
        fields: ['season', 'total'],
        data: [{
            season: '172.168.59.108 (2) 50%',
            total: 37
        },{
            season: '182.168.1.100 (2) 50%',
            total: 1
        }]
    });
	 var panel_2_2_store_5 = new Ext.data.JsonStore({
        fields: ['season', 'total'],
        data: [{
            season: 'WWW_Server (20) 60%',
            total: 37
        },{
            season: '192.168.13.30 (5) 15%',
            total: 1
        },{
            season: '192.168.31.96 (1) 3%',
            total: 1
        },{
            season: '192.168.97.226 (1) 3%',
            total: 1
        },{
            season: '192.168.31.77 (1) 3%',
            total: 1
        },{
            season: '192.168.31.58 (1) 3%',
            total: 1
        },{
            season: '192.168.94.219 (1) 3%',
            total: 1
        },{
            season: '192.168.31.39 (1) 3%',
            total: 1
        },{
            season: '192.168.31.20 (1) 3%',
            total: 1
        },{
            season: '192.168.31.212 (1) 3%',
            total: 1
        }]
    });

	var panel_2_2 = new Ext.Panel({
				columnWidth:0.5,
        layout : 'fit',
        height : 1010, 
				bodyStyle: "background-color:#ffffff", 
				items:[{	                
	       items:[{
                    title:'Top 10 Access Rules',
                    height : 200,
                    items: {
						            store: panel_2_2_store_1,
						            xtype: 'piechart',
						            dataField: 'total',
						            categoryField: 'season',
						            extraStyle:
						            {
						                legend:
						                {
						                    display: 'right',
						                    padding: 5,
						                    font:
						                    {
						                        family: 'Tahoma',
						                        size: 13
						                    }
						                }
						            }
						        }
                },{
                    title:'Top Usage Status',
                    height : 200,
                    items: {
						            store: panel_2_2_store_2,
						            xtype: 'piechart',
						            dataField: 'total',
						            categoryField: 'season',
						            extraStyle:
						            {
						                legend:
						                {
						                    display: 'right',
						                    padding: 2,
						                    font:
						                    {
						                        family: 'Tahoma',
						                        size: 8
						                    }
						                }
						            }
						        }
                },{
                    title:'Top 10 Protected Server under SYN Attack',
                    height : 200,
                    items: {
						            store: panel_2_2_store_3,
						            xtype: 'piechart',
						            dataField: 'total',
						            categoryField: 'season',
						            extraStyle:
						            {
						                legend:
						                {
						                    display: 'right',
						                    padding: 5,
						                    font:
						                    {
						                        family: 'Tahoma',
						                        size: 13
						                    }
						                }
						            }
						        }
                },{
                    title:'Top 200 Hosts',
                    height : 200,
                    items: {
						            store: panel_2_2_store_4,
						            xtype: 'piechart',
						            dataField: 'total',
						            categoryField: 'season',
						            extraStyle:
						            {
						                legend:
						                {
						                    display: 'right',
						                    padding: 5,
						                    font:
						                    {
						                        family: 'Tahoma',
						                        size: 13
						                    }
						                }
						            }
						        }
                },{
                    title:'Top Botnet Traffic Filter Hits',
                    height : 200,
                    items: {
						            store: panel_2_2_store_5,
						            xtype: 'piechart',
						            dataField: 'total',
						            categoryField: 'season',
						            extraStyle:
						            {
						                legend:
						                {
						                    display: 'right',
						                    padding: 1,
						                    font:
						                    {
						                        family: 'Tahoma',
						                        size: 8
						                    }
						                }
						            }
						        }
                }
          ]
				}]
			})
	var panel_2 = new Ext.Panel({
				frame : true,
				layout : 'column',
				bodyStyle: "background-color:#ffffff", 
				items: [panel_2_1,panel_2_2]
			})
	tabs.add({
					id : 2,
					title : "Firewall Dashboard",
					items : [panel_2],
					frame : true,
					layout : 'form',
					border : false,
					split : true,
					autoScroll : true
				}).show();
	tabs.setActiveTab(tab);
	return tabs;
}	
